#!/bin/sh
switch='br0'
/sbin/ifconfig $1 0.0.0.0 up
/sbin/brctl addif ${switch} $1
#/sbin/brctl setfd ${switch} 0
/sbin/brctl stp ${switch} off
/sbin/brctl setfd ${switch} 0
